gtkprintunixdialog: Fix a potential g_object_unref(NULL) call
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Tue, 26 Nov 2013 15:08:08 +0000 (15:08 +0000)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Tue, 10 Mar 2015 07:32:19 +0000 (07:32 +0000)
commitac4da770e10fa293a7c99bb3c4bcb8490f431e7f
tree726f61a711457dd924716430a5a9b1ea2bfe825b
parent5ced234144ce63decbf5afc8a3517290b9027018
gtkprintunixdialog: Fix a potential g_object_unref(NULL) call

The code above checks whether (printer == NULL), so we’d better do so
here as well.

Found by scan-build.

https://bugzilla.gnome.org/show_bug.cgi?id=712760
gtk/gtkprintunixdialog.c